import request from '@/utils/request';

export async function getNotifyInfoByPage (params: any) {
    return request('/api/service/getNotifyInfoByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addNotifyInfo (params: any) {
    return request('/api/service/addNotifyInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updateNotifyInfo (params: any) {
    return request('/api/service/updateNotifyInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delNotifyInfo (params: any) {
    return request('/api/service/delNotifyInfo', {
    method: 'POST',
    data: params,
  });
}


export async function exportNotifyInfo(params: any) {
    return request('/api/service/exportNotifyInfo', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getNotifyInfoByPage, addNotifyInfo, updateNotifyInfo, delNotifyInfo, exportNotifyInfo }
